<h2>修改笔记</h2>
<div class="list-group">
  <div class="list-group-item list-group-item-action">
    {{!-- {{#each notes}} --}}
    <form action="/modify-note" method="post">
      <input type="hidden" name="noteId" value="{{_id}}" />
      <table>    
        <tbody>
        <tr> 
            <td> 
              {{title }} - {{ content }}
            </td>
        </tr>

        <tr>
          <td>
            <input type="text" placeholder="标题名称" name="title" >
          </td>
        </tr>
        <tr>
          <td>
            <textarea placeholder="笔记内容" name="content" rows="10" cols="80"></textarea>
          </td>
        </tr>

        <tr>
            <td><input type="reset" value="重置" class="btn btn-danger" /></td>
        </tr>
        <tr>
            <td><input type="submit" value="修改" class="btn btn-primary" /></td>
        </tr>
        </tbody>
      </table>
    </form>
    {{!-- {{/each}} --}}
  </div>
</div>


